package com.yks.demo.lvcr.demoserver.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/helloController")
public class HelloController {


    @RequestMapping("/hello2")
    public String hello(){
        try {
            Thread.sleep((long)(1*60*1000));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "I am from server";
    }
}
